package cn.edu.gsau.info.service;

import cn.edu.gsau.info.models.Jiaogai;
import cn.edu.gsau.info.models.Shenhe;
import cn.edu.gsau.info.models.User;
import cn.edu.gsau.info.models.Zhengmingcailiao;
import cn.edu.gsau.info.vo.ParamModel;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @BelongsProject: IJiaogaiService
* @BelongsPackage: cn.edu.gsau.info.service
* @Author: kql
* @CreateTime: 2022/11/21
* @Description:
* @Version: 1.0
*/
public interface IJiaogaiService extends IService<Jiaogai> {
    /**
     * @Description 通过填写人id查询教改项目
     * @Param [id] 用户主键值
     * @return com.baomidou.mybatisplus.core.metadata.IPage
     * @Date 2022/11/21 21:15
     * @Author kql
     **/
    IPage selectJiaoGai(long id,ParamModel paramModel);

    /**
     * @Description //TODO
     * @Param [paramModel]
     * @return com.baomidou.mybatisplus.core.metadata.IPage
     * @Date 2022/11/28 19:53
     * @Author kql
     **/
    IPage shenPiJiaoGai(ParamModel paramModel);

    /**
     * @Description 通过教改项目id查询详细信息
     * @Param [id]  项目主键值
     * @return cn.edu.gsau.info.models.Jiaogai
     * @Date 2022/11/21 17:03
     * @Author kql
     **/
    Jiaogai searchbyjiaogaiid(String id);

    /**
     * @Description //TODO
     * @Param [user, form]
     * @return int
     * @Date 2022/11/26 16:03
     * @Author kql
     **/
    int add(User user , Jiaogai form);

    /**
     * @Description //TODO
     * @Param [form]
     * @return java.lang.String
     * @Date 2022/11/26 16:03
     * @Author kql
     **/
    int edit(Jiaogai form);
    /**
     * @Description //TODO
     * @Param [jiaogai]
     * @return int
     * @Date 2022/11/29 20:01
     * @Author kql
     **/
    int shenPi(Jiaogai jiaogai);
    /**
     * @Description //TODO
     * @Param [id]
     * @return java.util.List<cn.edu.gsau.info.models.ShenHe>
     * @Date 2022/11/29 20:00
     * @Author kql
     **/
    List<Shenhe> shenheluicheng(long id);
}
